import { ViewTool } from '@/utils';

/**
 * EAMIndexView 部件模型
 *
 * @export
 * @class EAMIndexViewModel
 */
export default class EAMIndexViewModel {

    /**
     * 菜单项集合
     *
     * @private
     * @type {any[]}
     * @memberof EAMIndexViewModel
     */
    private items: any[] = [
                {
        	id: '99a7488fb16d2488fa4ebccb5a27db17',
        	name: 'user_menus',
        	text: '用户菜单',
        	type: 'MENUITEM',
        	counterid: '',
        	tooltip: '用户菜单',
        	expanded: false,
        	separator: false,
        	hidden: false,
        	hidesidebar: false,
        	opendefault: false,
        	iconcls: '',
        	icon: '',
        	textcls: '',
        	appfunctag: '',
        	authtag:'EAMWeb-EAMIndexView-user_menus',
        	localetag: 'app.menus.EAMIndexView.user_menus',
        }
        ,
                {
        	id: '6cf32deffed383410a221502834a8936',
        	name: 'top_menus',
        	text: '顶部菜单',
        	type: 'MENUITEM',
        	counterid: '',
        	tooltip: '顶部菜单',
        	expanded: false,
        	separator: false,
        	hidden: false,
        	hidesidebar: false,
        	opendefault: false,
        	iconcls: '',
        	icon: '',
        	textcls: '',
        	appfunctag: '',
        	authtag:'EAMWeb-EAMIndexView-top_menus',
        	localetag: 'app.menus.EAMIndexView.top_menus',
        	items: [
                		        {
                	id: '18cc4bbf0c8b902bd9687023a66a7f84',
                	name: 'menuitem60',
                	text: 'iBiz开放平台',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: 'iBiz开放平台',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-home',
                	icon: '',
                	textcls: '',
                	appfunctag: 'AppFunc',
                	appfunctype: 'OPENHTMLPAGE',
                	authtag:'EAMWeb-EAMIndexView-menuitem60',
                	localetag: 'app.menus.EAMIndexView.menuitem60',
                }
                ,
                		        {
                	id: 'cbd84c93e1ebe54e84442d60f7cffa26',
                	name: 'menuitem62',
                	text: '项目文件',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '项目文件',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-folder-open-o',
                	icon: '',
                	textcls: '',
                	appfunctag: 'AppFunc2',
                	appfunctype: 'OPENHTMLPAGE',
                	authtag:'EAMWeb-EAMIndexView-menuitem62',
                	localetag: 'app.menus.EAMIndexView.menuitem62',
                }
                ,
                		        {
                	id: 'e34f689a712ca9e0c91bd3548b79500a',
                	name: 'menuitem61',
                	text: '模型设计工具',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '模型设计工具',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-wrench',
                	icon: '',
                	textcls: '',
                	appfunctag: 'AppFunc3',
                	appfunctype: 'OPENHTMLPAGE',
                	authtag:'EAMWeb-EAMIndexView-menuitem61',
                	localetag: 'app.menus.EAMIndexView.menuitem61',
                }
                ,
                		        {
                	id: '788606e33453920b7695d0bf1104546f',
                	name: 'menuitem63',
                	text: 'iBiz论坛',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: 'iBiz论坛',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-comments-o',
                	icon: '',
                	textcls: '',
                	appfunctag: 'AppFunc4',
                	appfunctype: 'OPENHTMLPAGE',
                	authtag:'EAMWeb-EAMIndexView-menuitem63',
                	localetag: 'app.menus.EAMIndexView.menuitem63',
                }
                ,
        	],
        }
        ,
                {
        	id: 'd6fc48890e14cff0001a4c9e0b25f936',
        	name: 'left_exp',
        	text: '左侧菜单',
        	type: 'MENUITEM',
        	counterid: '',
        	tooltip: '左侧菜单',
        	expanded: true,
        	separator: false,
        	hidden: false,
        	hidesidebar: false,
        	opendefault: false,
        	iconcls: '',
        	icon: '',
        	textcls: '',
        	appfunctag: '',
        	authtag:'EAMWeb-EAMIndexView-left_exp',
        	localetag: 'app.menus.EAMIndexView.left_exp',
        	items: [
                		        {
                	id: 'c4dc6ab521fa020cd5517b33a1cf878a',
                	name: 'menuitem1',
                	text: '工作台',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '工作台',
                	expanded: true,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-desktop',
                	icon: '',
                	textcls: '',
                	appfunctag: 'Auto37',
                	appfunctype: 'APPVIEW',
                	viewname: 'app-portal-view',
                	authtag:'EAMWeb-EAMIndexView-menuitem1',
                	localetag: 'app.menus.EAMIndexView.menuitem1',
                }
                ,
                		        {
                	id: 'a1cb497dfe9bc6dd95c73f6dcc6de852',
                	name: 'menuitem2',
                	text: '设备',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '设备',
                	expanded: true,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-video-camera',
                	icon: '',
                	textcls: '',
                	appfunctag: '',
                	authtag:'EAMWeb-EAMIndexView-menuitem2',
                	localetag: 'app.menus.EAMIndexView.menuitem2',
                	items: [
                        		        {
                        	id: 'd9908b6b24f9f4920e2ccf213254e66d',
                        	name: 'menuitem4',
                        	text: '设备档案',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '设备档案',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto1',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqtype-tree-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem4',
                        	localetag: 'app.menus.EAMIndexView.menuitem4',
                        }
                        ,
                        		        {
                        	id: '049d894b9b9c2b9a4920a3fafabf34bf',
                        	name: 'menuitem3',
                        	text: '设备类型',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '设备类型',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto21',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqtype-tree-exp-view2',
                        	authtag:'EAMWeb-EAMIndexView-menuitem3',
                        	localetag: 'app.menus.EAMIndexView.menuitem3',
                        }
                        ,
                        		        {
                        	id: '17f9a4be466d4f9550dee7d5300218a5',
                        	name: 'menuitem5',
                        	text: '位置',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '位置',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto12',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqlocation-tree-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem5',
                        	localetag: 'app.menus.EAMIndexView.menuitem5',
                        }
                        ,
                        		        {
                        	id: '65a80c7705850c07120f2bd55224abd2',
                        	name: 'menuitem6',
                        	text: '文档',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '文档',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto20',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emdrwgtree-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem6',
                        	localetag: 'app.menus.EAMIndexView.menuitem6',
                        }
                        ,
                        		        {
                        	id: '3b4d814e1d0519088921f07c3350be1a',
                        	name: 'menuitem7',
                        	text: '备件包',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '备件包',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto10',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqspare-grid-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem7',
                        	localetag: 'app.menus.EAMIndexView.menuitem7',
                        }
                        ,
                	],
                }
                ,
                		        {
                	id: '4454389c42cc93e55b018a64a713bf84',
                	name: 'menuitem8',
                	text: '运行',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '运行',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-bug',
                	icon: '',
                	textcls: '',
                	appfunctag: '',
                	authtag:'EAMWeb-EAMIndexView-menuitem8',
                	localetag: 'app.menus.EAMIndexView.menuitem8',
                	items: [
                        		        {
                        	id: '1547ad0583e3f5af7da42a1969c01124',
                        	name: 'menuitem9',
                        	text: '运行日志',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '运行日志',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto65',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqwlgrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem9',
                        	localetag: 'app.menus.EAMIndexView.menuitem9',
                        }
                        ,
                        		        {
                        	id: '2468b92dbf29db2fa0571541f139280c',
                        	name: 'menuitem10',
                        	text: '运行监控',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '运行监控',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto60',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqmonitor-grid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem10',
                        	localetag: 'app.menus.EAMIndexView.menuitem10',
                        }
                        ,
                        		        {
                        	id: '6f0777df102a120b5cb9789cedd9f7e7',
                        	name: 'menuitem11',
                        	text: '仪表',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '仪表',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto62',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqmpgrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem11',
                        	localetag: 'app.menus.EAMIndexView.menuitem11',
                        }
                        ,
                        		        {
                        	id: '83d955ea346de85a6c667687eec3d53b',
                        	name: 'menuitem12',
                        	text: '仪表读数',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '仪表读数',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto59',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqmpmtrgrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem12',
                        	localetag: 'app.menus.EAMIndexView.menuitem12',
                        }
                        ,
                        		        {
                        	id: '7a5d58894d343d7c713806e0ba923a84',
                        	name: 'menuitem13',
                        	text: '关键点',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '关键点',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto63',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqkpgrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem13',
                        	localetag: 'app.menus.EAMIndexView.menuitem13',
                        }
                        ,
                        		        {
                        	id: '9fef3ef73d5c109b6b2d7ead524cd088',
                        	name: 'menuitem14',
                        	text: '关键点记录',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '关键点记录',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto67',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqkprcdgrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem14',
                        	localetag: 'app.menus.EAMIndexView.menuitem14',
                        }
                        ,
                	],
                }
                ,
                		        {
                	id: '5dfe5dc429d235742d855a8b4e7aaa91',
                	name: 'menuitem15',
                	text: '计划',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '计划',
                	expanded: true,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-pencil-square-o',
                	icon: '',
                	textcls: '',
                	appfunctag: '',
                	authtag:'EAMWeb-EAMIndexView-menuitem15',
                	localetag: 'app.menus.EAMIndexView.menuitem15',
                	items: [
                        		        {
                        	id: '6e53717d8b97d95c6db5f03f40973b05',
                        	name: 'menuitem16',
                        	text: '计划',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '计划',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto15',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emplan-grid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem16',
                        	localetag: 'app.menus.EAMIndexView.menuitem16',
                        }
                        ,
                        		        {
                        	id: 'F4FDECAE-645C-4150-82ED-FA9662B51E2F',
                        	name: 'menuitem69',
                        	text: '计划时刻设置',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '计划时刻设置',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'AppFunc6',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'planschedulegrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem69',
                        	localetag: 'app.menus.EAMIndexView.menuitem69',
                        }
                        ,
                        		        {
                        	id: '57ef4ebac28b67600a2b1ceba1fba035',
                        	name: 'menuitem17',
                        	text: '计划模板',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '计划模板',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto6',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emplan-templ-grid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem17',
                        	localetag: 'app.menus.EAMIndexView.menuitem17',
                        }
                        ,
                	],
                }
                ,
                		        {
                	id: '31ea06b9a633f195f1364ca09c0e8ffa',
                	name: 'menuitem18',
                	text: '能耗',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '能耗',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-codepen',
                	icon: '',
                	textcls: '',
                	appfunctag: '',
                	authtag:'EAMWeb-EAMIndexView-menuitem18',
                	localetag: 'app.menus.EAMIndexView.menuitem18',
                	items: [
                        		        {
                        	id: 'f8530fc0dac719fc3e4550eb3cc793ec',
                        	name: 'menuitem19',
                        	text: '能源',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '能源',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto35',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emengrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem19',
                        	localetag: 'app.menus.EAMIndexView.menuitem19',
                        }
                        ,
                        		        {
                        	id: '4955480828633a3df0a53b170b6fde8a',
                        	name: 'menuitem20',
                        	text: '能耗',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '能耗',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto32',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emenconsum-grid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem20',
                        	localetag: 'app.menus.EAMIndexView.menuitem20',
                        }
                        ,
                	],
                }
                ,
                		        {
                	id: 'c665a8d06279eed216cf41e074347810',
                	name: 'menuitem21',
                	text: '工单',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '工单',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-align-justify',
                	icon: '',
                	textcls: '',
                	appfunctag: '',
                	authtag:'EAMWeb-EAMIndexView-menuitem21',
                	localetag: 'app.menus.EAMIndexView.menuitem21',
                	items: [
                        		        {
                        	id: '0697ae625318a619a3883348217c59c1',
                        	name: 'menuitem22',
                        	text: '全部工单',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '全部工单',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto42',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emwoemwogrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem22',
                        	localetag: 'app.menus.EAMIndexView.menuitem22',
                        }
                        ,
                        		        {
                        	id: 'c93526b474b2869a2b3bb33720d95c51',
                        	name: 'menuitem23',
                        	text: '内部工单',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '内部工单',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto9',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emwo-innertab-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem23',
                        	localetag: 'app.menus.EAMIndexView.menuitem23',
                        }
                        ,
                        		        {
                        	id: '2cdd0cd62410a8b681c5945340cbd818',
                        	name: 'menuitem24',
                        	text: '外委工单',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '外委工单',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto17',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emwo-osctab-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem24',
                        	localetag: 'app.menus.EAMIndexView.menuitem24',
                        }
                        ,
                        		        {
                        	id: '2a51e53d1d3991add27a304ada3e6261',
                        	name: 'menuitem25',
                        	text: '能耗工单',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '能耗工单',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto5',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emwo-entab-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem25',
                        	localetag: 'app.menus.EAMIndexView.menuitem25',
                        }
                        ,
                        		        {
                        	id: '13aa48fd5022311aed694577a4e4bb0e',
                        	name: 'menuitem26',
                        	text: '点检工单',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '点检工单',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto3',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emwo-dptab-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem26',
                        	localetag: 'app.menus.EAMIndexView.menuitem26',
                        }
                        ,
                        		        {
                        	id: 'f95e6a579b12b2ee1630c79047ed3a97',
                        	name: 'menuitem28',
                        	text: '工单日历',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '工单日历',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto56',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emwocalendar-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem28',
                        	localetag: 'app.menus.EAMIndexView.menuitem28',
                        }
                        ,
                        		        {
                        	id: '7127340A-A787-47F0-A3BD-2C82A95BA2EF',
                        	name: 'menuitem68',
                        	text: '工单日历导航',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '工单日历导航',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto58',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emwocalendar-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem68',
                        	localetag: 'app.menus.EAMIndexView.menuitem68',
                        }
                        ,
                        		        {
                        	id: '5bdc7ead973f9ebd9eb4851229d125ee',
                        	name: 'menuitem27',
                        	text: '外委申请',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '外委申请',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto16',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emapply-tab-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem27',
                        	localetag: 'app.menus.EAMIndexView.menuitem27',
                        }
                        ,
                	],
                }
                ,
                		        {
                	id: 'eeebf8d6ef04aec36940d23014096cc8',
                	name: 'menuitem36',
                	text: '活动',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '活动',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-forward',
                	icon: '',
                	textcls: '',
                	appfunctag: '',
                	authtag:'EAMWeb-EAMIndexView-menuitem36',
                	localetag: 'app.menus.EAMIndexView.menuitem36',
                	items: [
                        		        {
                        	id: 'a636cbe05c8cef771b0ba9324d33c6af',
                        	name: 'menuitem37',
                        	text: '更换安装',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '更换安装',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto27',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqsetup-grid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem37',
                        	localetag: 'app.menus.EAMIndexView.menuitem37',
                        }
                        ,
                        		        {
                        	id: '93a19fb8454c29f1e60c6d8c25ae538b',
                        	name: 'menuitem38',
                        	text: '事故记录',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '事故记录',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto33',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqdebug-grid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem38',
                        	localetag: 'app.menus.EAMIndexView.menuitem38',
                        }
                        ,
                        		        {
                        	id: '3f696bb087b299a3676915088c5223e3',
                        	name: 'menuitem40',
                        	text: '维修记录',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '维修记录',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto38',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqcheck-grid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem40',
                        	localetag: 'app.menus.EAMIndexView.menuitem40',
                        }
                        ,
                        		        {
                        	id: '80e4e39cce4d41ac135d05994bef9c93',
                        	name: 'menuitem39',
                        	text: '抢修记录',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '抢修记录',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto31',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqmaintance-grid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem39',
                        	localetag: 'app.menus.EAMIndexView.menuitem39',
                        }
                        ,
                        		        {
                        	id: '9dacc6eb43b801b43fab532c52149184',
                        	name: 'menuitem41',
                        	text: '保养记录',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '保养记录',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto28',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqkeep-grid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem41',
                        	localetag: 'app.menus.EAMIndexView.menuitem41',
                        }
                        ,
                        		        {
                        	id: '8cf5f39bbf98d5fe677a831631f96b0d',
                        	name: 'menuitem64',
                        	text: '活动日历',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '活动日历',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto64',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emeqahcalendar-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem64',
                        	localetag: 'app.menus.EAMIndexView.menuitem64',
                        }
                        ,
                	],
                }
                ,
                		        {
                	id: '8e3a635ecf4ba66531dcc0b42e84a932',
                	name: 'menuitem29',
                	text: '故障',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '故障',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-exclamation-triangle',
                	icon: '',
                	textcls: '',
                	appfunctag: '',
                	authtag:'EAMWeb-EAMIndexView-menuitem29',
                	localetag: 'app.menus.EAMIndexView.menuitem29',
                	items: [
                        		        {
                        	id: 'f456fee07b4360da02e920173a15c42b',
                        	name: 'menuitem30',
                        	text: '故障知识库',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '故障知识库',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto66',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emrfodegrid-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem30',
                        	localetag: 'app.menus.EAMIndexView.menuitem30',
                        }
                        ,
                        		        {
                        	id: 'e5fe87a73fe124a48299227bef744134',
                        	name: 'menuitem31',
                        	text: '现象',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '现象',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto50',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emrfodegrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem31',
                        	localetag: 'app.menus.EAMIndexView.menuitem31',
                        }
                        ,
                        		        {
                        	id: '436d99585238f433ef025d1b7f44c337',
                        	name: 'menuitem32',
                        	text: '现象分类',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '现象分类',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto26',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emrfodetypegrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem32',
                        	localetag: 'app.menus.EAMIndexView.menuitem32',
                        }
                        ,
                        		        {
                        	id: '8e88740bf86aebb5fd445b3fce9d8b69',
                        	name: 'menuitem33',
                        	text: '模式',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '模式',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto41',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emrfomogrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem33',
                        	localetag: 'app.menus.EAMIndexView.menuitem33',
                        }
                        ,
                        		        {
                        	id: 'eef1b446b07ed6a94f28114ff6d48dd7',
                        	name: 'menuitem34',
                        	text: '原因',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '原因',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto48',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emrfocagrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem34',
                        	localetag: 'app.menus.EAMIndexView.menuitem34',
                        }
                        ,
                        		        {
                        	id: '51aadb2869bfc799512094ccb946c88c',
                        	name: 'menuitem35',
                        	text: '解决方案',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '解决方案',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto30',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emrfoacgrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem35',
                        	localetag: 'app.menus.EAMIndexView.menuitem35',
                        }
                        ,
                	],
                }
                ,
                		        {
                	id: '411e9c6e30821c7290eaa1ae5f15249f',
                	name: 'menuitem42',
                	text: '资产',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '资产',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-money',
                	icon: '',
                	textcls: '',
                	appfunctag: '',
                	authtag:'EAMWeb-EAMIndexView-menuitem42',
                	localetag: 'app.menus.EAMIndexView.menuitem42',
                	items: [
                        		        {
                        	id: 'e6121264dbc19cb1fe2bbed2f62745ef',
                        	name: 'menuitem43',
                        	text: '资产科目',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '资产科目',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto51',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emassetclassgrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem43',
                        	localetag: 'app.menus.EAMIndexView.menuitem43',
                        }
                        ,
                        		        {
                        	id: 'cb2fbc3e383f25bdc969641667298c09',
                        	name: 'menuitem44',
                        	text: '固定资产台账',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '固定资产台账',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto29',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emassetgrid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem44',
                        	localetag: 'app.menus.EAMIndexView.menuitem44',
                        }
                        ,
                        		        {
                        	id: '7c24e67dd3113405635e7e8be64baff3',
                        	name: 'menuitem45',
                        	text: '报废资产',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '报废资产',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto46',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emassetgrid-view-bf',
                        	authtag:'EAMWeb-EAMIndexView-menuitem45',
                        	localetag: 'app.menus.EAMIndexView.menuitem45',
                        }
                        ,
                        		        {
                        	id: '4434560dcc05c44f5f833498d842e826',
                        	name: 'menuitem46',
                        	text: '资产盘点记录',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '资产盘点记录',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto39',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emasset-clear-grid-view-5564',
                        	authtag:'EAMWeb-EAMIndexView-menuitem46',
                        	localetag: 'app.menus.EAMIndexView.menuitem46',
                        }
                        ,
                	],
                }
                ,
                		        {
                	id: 'c6b07c1a98b52108dae313e8c01c2ab7',
                	name: 'menuitem47',
                	text: '材料',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '材料',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-dashcube',
                	icon: '',
                	textcls: '',
                	appfunctag: '',
                	authtag:'EAMWeb-EAMIndexView-menuitem47',
                	localetag: 'app.menus.EAMIndexView.menuitem47',
                	items: [
                        		        {
                        	id: 'be5e9dfa130f9d3e3f5daf3b60b93ca1',
                        	name: 'menuitem49',
                        	text: '物品',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '物品',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto14',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emitem-type-item-tree-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem49',
                        	localetag: 'app.menus.EAMIndexView.menuitem49',
                        }
                        ,
                        		        {
                        	id: 'b6257268a8442d28265da0207976c7cd',
                        	name: 'menuitem48',
                        	text: '物品类型',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '物品类型',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto22',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emitem-type-info-tree-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem48',
                        	localetag: 'app.menus.EAMIndexView.menuitem48',
                        }
                        ,
                        		        {
                        	id: '86246cf5d745478210e704b7cddf8b4d',
                        	name: 'menuitem65',
                        	text: '仓库管理',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '仓库管理',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto11',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emstore-grid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem65',
                        	localetag: 'app.menus.EAMIndexView.menuitem65',
                        }
                        ,
                        		        {
                        	id: 'a066b76d8db8bf0e134fd0fd4c8fc9cd',
                        	name: 'menuitem50',
                        	text: '库存管理',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '库存管理',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto19',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emstock-grid-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem50',
                        	localetag: 'app.menus.EAMIndexView.menuitem50',
                        }
                        ,
                        		        {
                        	id: '9b8c7062c88107daea3b567aa1afa773',
                        	name: 'menuitem51',
                        	text: '损溢单',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '损溢单',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto18',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emitem-pltab-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem51',
                        	localetag: 'app.menus.EAMIndexView.menuitem51',
                        }
                        ,
                        		        {
                        	id: '1d431a0b657c8ae0922ee953ed2f9d0d',
                        	name: 'menuitem52',
                        	text: '库位调整单',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '库位调整单',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto4',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emitem-cstab-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem52',
                        	localetag: 'app.menus.EAMIndexView.menuitem52',
                        }
                        ,
                        		        {
                        	id: '0aceb64c5e26273ce9ff09b3254119f7',
                        	name: 'menuitem53',
                        	text: '出库单',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '出库单',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto13',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emitem-rout-tab-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem53',
                        	localetag: 'app.menus.EAMIndexView.menuitem53',
                        }
                        ,
                        		        {
                        	id: '9a65c29c706a10675b77067e7c3b5515',
                        	name: 'menuitem54',
                        	text: '领料单',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '领料单',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto7',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emitem-puse-tab-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem54',
                        	localetag: 'app.menus.EAMIndexView.menuitem54',
                        }
                        ,
                        		        {
                        	id: '0fe29978b3d30e9a1a01d85c4b8b1a24',
                        	name: 'menuitem55',
                        	text: '还料单',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '还料单',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto8',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emitem-prtn-tab-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem55',
                        	localetag: 'app.menus.EAMIndexView.menuitem55',
                        }
                        ,
                	],
                }
                ,
                		        {
                	id: '506da99316725712820590f91c28f803',
                	name: 'menuitem56',
                	text: '采购',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '采购',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: 'fa fa-leanpub',
                	icon: '',
                	textcls: '',
                	appfunctag: '',
                	authtag:'EAMWeb-EAMIndexView-menuitem56',
                	localetag: 'app.menus.EAMIndexView.menuitem56',
                	items: [
                        		        {
                        	id: '65bae3e0482703cdc59040662e4a4c37',
                        	name: 'menuitem57',
                        	text: '采购流程',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '采购流程',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto54',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emwplist-wp-process-tree-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem57',
                        	localetag: 'app.menus.EAMIndexView.menuitem57',
                        }
                        ,
                        		        {
                        	id: '1cd0e0e5529d4eac191c76b304df732f',
                        	name: 'menuitem58',
                        	text: '服务商',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '服务商',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto36',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emservice-tab-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem58',
                        	localetag: 'app.menus.EAMIndexView.menuitem58',
                        }
                        ,
                        		        {
                        	id: '134d23b8c827386697282b1538d44d16',
                        	name: 'menuitem59',
                        	text: '服务商评估',
                        	type: 'MENUITEM',
                        	counterid: '',
                        	tooltip: '服务商评估',
                        	expanded: false,
                        	separator: false,
                        	hidden: false,
                        	hidesidebar: false,
                        	opendefault: false,
                        	iconcls: '',
                        	icon: '',
                        	textcls: '',
                        	appfunctag: 'Auto34',
                        	appfunctype: 'APPVIEW',
                        	viewname: 'emservice-evl-tab-exp-view',
                        	authtag:'EAMWeb-EAMIndexView-menuitem59',
                        	localetag: 'app.menus.EAMIndexView.menuitem59',
                        }
                        ,
                	],
                }
                ,
        	],
        }
        ,
                {
        	id: '8E961DF1-6050-43C7-918B-2FC1E45146B8',
        	name: 'menuitem67',
        	text: '系统设置',
        	type: 'MENUITEM',
        	counterid: '',
        	tooltip: '系统设置',
        	expanded: false,
        	separator: false,
        	hidden: false,
        	hidesidebar: false,
        	opendefault: false,
        	iconcls: '',
        	icon: '',
        	textcls: '',
        	appfunctag: '',
        	authtag:'EAMWeb-EAMIndexView-menuitem67',
        	localetag: 'app.menus.EAMIndexView.menuitem67',
        	items: [
                		        {
                	id: '9045D1E8-8D3F-466C-9051-3DC33D11D2EF',
                	name: 'menuitem66',
                	text: '序列号',
                	type: 'MENUITEM',
                	counterid: '',
                	tooltip: '序列号',
                	expanded: false,
                	separator: false,
                	hidden: false,
                	hidesidebar: false,
                	opendefault: false,
                	iconcls: '',
                	icon: '',
                	textcls: '',
                	appfunctag: 'AppFunc5',
                	appfunctype: 'APPVIEW',
                	viewname: 'sequencegrid-view',
                	authtag:'EAMWeb-EAMIndexView-menuitem66',
                	localetag: 'app.menus.EAMIndexView.menuitem66',
                }
                ,
        	],
        }
        ,
                {
        	id: 'd2a10eb6b20b989751e586b4262c8538',
        	name: 'bottom_exp',
        	text: '底部内容',
        	type: 'MENUITEM',
        	counterid: '',
        	tooltip: '底部内容',
        	expanded: false,
        	separator: false,
        	hidden: false,
        	hidesidebar: false,
        	opendefault: false,
        	iconcls: '',
        	icon: '',
        	textcls: '',
        	appfunctag: '',
        	authtag:'EAMWeb-EAMIndexView-bottom_exp',
        	localetag: 'app.menus.EAMIndexView.bottom_exp',
        }
        ,
                {
        	id: '88e70d799122f7f6c4f05de58f59e941',
        	name: 'footer_left',
        	text: '底部左侧',
        	type: 'MENUITEM',
        	counterid: '',
        	tooltip: '底部左侧',
        	expanded: false,
        	separator: false,
        	hidden: false,
        	hidesidebar: false,
        	opendefault: false,
        	iconcls: '',
        	icon: '',
        	textcls: '',
        	appfunctag: '',
        	authtag:'EAMWeb-EAMIndexView-footer_left',
        	localetag: 'app.menus.EAMIndexView.footer_left',
        }
        ,
                {
        	id: 'be0be825444f28db2e64d4820db9f314',
        	name: 'footer_center',
        	text: '底部中间',
        	type: 'MENUITEM',
        	counterid: '',
        	tooltip: '底部中间',
        	expanded: false,
        	separator: false,
        	hidden: false,
        	hidesidebar: false,
        	opendefault: false,
        	iconcls: '',
        	icon: '',
        	textcls: '',
        	appfunctag: '',
        	authtag:'EAMWeb-EAMIndexView-footer_center',
        	localetag: 'app.menus.EAMIndexView.footer_center',
        }
        ,
                {
        	id: 'dab2912ee498ff28e9f5c7575aa21db0',
        	name: 'footer_right',
        	text: '底部右侧',
        	type: 'MENUITEM',
        	counterid: '',
        	tooltip: '底部右侧',
        	expanded: false,
        	separator: false,
        	hidden: false,
        	hidesidebar: false,
        	opendefault: false,
        	iconcls: '',
        	icon: '',
        	textcls: '',
        	appfunctag: '',
        	authtag:'EAMWeb-EAMIndexView-footer_right',
        	localetag: 'app.menus.EAMIndexView.footer_right',
        }
        ,
    ];

	/**
	 * 应用功能集合
	 *
	 * @private
	 * @type {any[]}
	 * @memberof EAMIndexViewModel
	 */
	private funcs: any[] = [
        {
            appfunctag: 'Auto51',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emassetclassgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emassetclasses/:emassetclass?/gridview/:gridview?',
            parameters: [
                { pathName: 'emassetclasses', parameterName: 'emassetclass' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto63',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqkpgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqkps/:emeqkp?/gridview/:gridview?',
            parameters: [
                { pathName: 'emeqkps', parameterName: 'emeqkp' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto4',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emitemcstabexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emitemcs/:emitemcs?/tabexpview/:tabexpview?',
            parameters: [
                { pathName: 'emitemcs', parameterName: 'emitemcs' },
                { pathName: 'tabexpview', parameterName: 'tabexpview' },
            ],
        },
        {
            appfunctag: 'Auto7',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emitempusetabexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emitempuses/:emitempuse?/tabexpview/:tabexpview?',
            parameters: [
                { pathName: 'emitempuses', parameterName: 'emitempuse' },
                { pathName: 'tabexpview', parameterName: 'tabexpview' },
            ],
        },
        {
            appfunctag: 'Auto9',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emwo_innertabexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emwo_inners/:emwo_inner?/tabexpview/:tabexpview?',
            parameters: [
                { pathName: 'emwo_inners', parameterName: 'emwo_inner' },
                { pathName: 'tabexpview', parameterName: 'tabexpview' },
            ],
        },
        {
            appfunctag: 'Auto28',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqkeepgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqkeeps/:emeqkeep?/gridview/:gridview?',
            parameters: [
                { pathName: 'emeqkeeps', parameterName: 'emeqkeep' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto10',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqsparegridexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqspares/:emeqspare?/gridexpview/:gridexpview?',
            parameters: [
                { pathName: 'emeqspares', parameterName: 'emeqspare' },
                { pathName: 'gridexpview', parameterName: 'gridexpview' },
            ],
        },
        {
            appfunctag: 'Auto20',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emdrwgtreeexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emdrwgs/:emdrwg?/treeexpview/:treeexpview?',
            parameters: [
                { pathName: 'emdrwgs', parameterName: 'emdrwg' },
                { pathName: 'treeexpview', parameterName: 'treeexpview' },
            ],
        },
        {
            appfunctag: 'Auto14',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emitemtypeitemtreeexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emitemtypes/:emitemtype?/itemtreeexpview/:itemtreeexpview?',
            parameters: [
                { pathName: 'emitemtypes', parameterName: 'emitemtype' },
                { pathName: 'itemtreeexpview', parameterName: 'itemtreeexpview' },
            ],
        },
        {
            appfunctag: 'Auto60',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqmonitorgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqmonitors/:emeqmonitor?/gridview/:gridview?',
            parameters: [
                { pathName: 'emeqmonitors', parameterName: 'emeqmonitor' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto66',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emrfodegridexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emrfodes/:emrfode?/gridexpview/:gridexpview?',
            parameters: [
                { pathName: 'emrfodes', parameterName: 'emrfode' },
                { pathName: 'gridexpview', parameterName: 'gridexpview' },
            ],
        },
        {
            appfunctag: 'Auto12',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqlocationtreeexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqlocations/:emeqlocation?/treeexpview/:treeexpview?',
            parameters: [
                { pathName: 'emeqlocations', parameterName: 'emeqlocation' },
                { pathName: 'treeexpview', parameterName: 'treeexpview' },
            ],
        },
        {
            appfunctag: 'Auto3',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emwo_dptabexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emwo_dps/:emwo_dp?/tabexpview/:tabexpview?',
            parameters: [
                { pathName: 'emwo_dps', parameterName: 'emwo_dp' },
                { pathName: 'tabexpview', parameterName: 'tabexpview' },
            ],
        },
        {
            appfunctag: 'Auto34',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emserviceevltabexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emserviceevls/:emserviceevl?/tabexpview/:tabexpview?',
            parameters: [
                { pathName: 'emserviceevls', parameterName: 'emserviceevl' },
                { pathName: 'tabexpview', parameterName: 'tabexpview' },
            ],
        },
        {
            appfunctag: 'Auto19',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emstockgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emstocks/:emstock?/gridview/:gridview?',
            parameters: [
                { pathName: 'emstocks', parameterName: 'emstock' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto15',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emplangridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emplans/:emplan?/gridview/:gridview?',
            parameters: [
                { pathName: 'emplans', parameterName: 'emplan' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'AppFunc4',
            appfunctype: 'OPENHTMLPAGE',
        },
        {
            appfunctag: 'Auto59',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqmpmtrgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqmpmtrs/:emeqmpmtr?/gridview/:gridview?',
            parameters: [
                { pathName: 'emeqmpmtrs', parameterName: 'emeqmpmtr' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto31',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqmaintancegridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqmaintances/:emeqmaintance?/gridview/:gridview?',
            parameters: [
                { pathName: 'emeqmaintances', parameterName: 'emeqmaintance' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto67',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqkprcdgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqkprcds/:emeqkprcd?/gridview/:gridview?',
            parameters: [
                { pathName: 'emeqkprcds', parameterName: 'emeqkprcd' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto46',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emassetgridview_bf',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emassets/:emasset?/gridview_bf/:gridview_bf?',
            parameters: [
                { pathName: 'emassets', parameterName: 'emasset' },
                { pathName: 'gridview_bf', parameterName: 'gridview_bf' },
            ],
        },
        {
            appfunctag: 'Auto39',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emassetcleargridview_5564',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emassetclears/:emassetclear?/gridview_5564/:gridview_5564?',
            parameters: [
                { pathName: 'emassetclears', parameterName: 'emassetclear' },
                { pathName: 'gridview_5564', parameterName: 'gridview_5564' },
            ],
        },
        {
            appfunctag: 'Auto64',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqahcalendarexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqahs/:emeqah?/calendarexpview/:calendarexpview?',
            parameters: [
                { pathName: 'emeqahs', parameterName: 'emeqah' },
                { pathName: 'calendarexpview', parameterName: 'calendarexpview' },
            ],
        },
        {
            appfunctag: 'Auto1',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqtypetreeexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqtypes/:emeqtype?/treeexpview/:treeexpview?',
            parameters: [
                { pathName: 'emeqtypes', parameterName: 'emeqtype' },
                { pathName: 'treeexpview', parameterName: 'treeexpview' },
            ],
        },
        {
            appfunctag: 'Auto13',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emitemrouttabexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emitemrouts/:emitemrout?/tabexpview/:tabexpview?',
            parameters: [
                { pathName: 'emitemrouts', parameterName: 'emitemrout' },
                { pathName: 'tabexpview', parameterName: 'tabexpview' },
            ],
        },
        {
            appfunctag: 'AppFunc3',
            appfunctype: 'OPENHTMLPAGE',
        },
        {
            appfunctag: 'Auto56',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emwocalendarview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emwos/:emwo?/calendarview/:calendarview?',
            parameters: [
                { pathName: 'emwos', parameterName: 'emwo' },
                { pathName: 'calendarview', parameterName: 'calendarview' },
            ],
        },
        {
            appfunctag: 'Auto65',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqwlgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqwls/:emeqwl?/gridview/:gridview?',
            parameters: [
                { pathName: 'emeqwls', parameterName: 'emeqwl' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto26',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emrfodetypegridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emrfodetypes/:emrfodetype?/gridview/:gridview?',
            parameters: [
                { pathName: 'emrfodetypes', parameterName: 'emrfodetype' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto58',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emwocalendarexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emwos/:emwo?/calendarexpview/:calendarexpview?',
            parameters: [
                { pathName: 'emwos', parameterName: 'emwo' },
                { pathName: 'calendarexpview', parameterName: 'calendarexpview' },
            ],
        },
        {
            appfunctag: 'Auto37',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'appportalview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/appportalview/:appportalview?',
            parameters: [
                { pathName: 'appportalview', parameterName: 'appportalview' },
            ],
        },
        {
            appfunctag: 'Auto17',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emwo_osctabexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emwo_oscs/:emwo_osc?/tabexpview/:tabexpview?',
            parameters: [
                { pathName: 'emwo_oscs', parameterName: 'emwo_osc' },
                { pathName: 'tabexpview', parameterName: 'tabexpview' },
            ],
        },
        {
            appfunctag: 'Auto11',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emstoregridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emstores/:emstore?/gridview/:gridview?',
            parameters: [
                { pathName: 'emstores', parameterName: 'emstore' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto27',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqsetupgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqsetups/:emeqsetup?/gridview/:gridview?',
            parameters: [
                { pathName: 'emeqsetups', parameterName: 'emeqsetup' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto50',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emrfodegridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emrfodes/:emrfode?/gridview/:gridview?',
            parameters: [
                { pathName: 'emrfodes', parameterName: 'emrfode' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'AppFunc5',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'sequencegridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/sequences/:sequence?/gridview/:gridview?',
            parameters: [
                { pathName: 'sequences', parameterName: 'sequence' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto36',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emservicetabexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emservices/:emservice?/tabexpview/:tabexpview?',
            parameters: [
                { pathName: 'emservices', parameterName: 'emservice' },
                { pathName: 'tabexpview', parameterName: 'tabexpview' },
            ],
        },
        {
            appfunctag: 'Auto16',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emapplytabexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emapplies/:emapply?/tabexpview/:tabexpview?',
            parameters: [
                { pathName: 'emapplies', parameterName: 'emapply' },
                { pathName: 'tabexpview', parameterName: 'tabexpview' },
            ],
        },
        {
            appfunctag: 'Auto6',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emplantemplgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emplantempls/:emplantempl?/gridview/:gridview?',
            parameters: [
                { pathName: 'emplantempls', parameterName: 'emplantempl' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto41',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emrfomogridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emrfomos/:emrfomo?/gridview/:gridview?',
            parameters: [
                { pathName: 'emrfomos', parameterName: 'emrfomo' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto18',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emitempltabexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emitempls/:emitempl?/tabexpview/:tabexpview?',
            parameters: [
                { pathName: 'emitempls', parameterName: 'emitempl' },
                { pathName: 'tabexpview', parameterName: 'tabexpview' },
            ],
        },
        {
            appfunctag: 'Auto35',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emengridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emen/:emen?/gridview/:gridview?',
            parameters: [
                { pathName: 'emen', parameterName: 'emen' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'AppFunc6',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'planschedulegridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/planschedules/:planschedule?/gridview/:gridview?',
            parameters: [
                { pathName: 'planschedules', parameterName: 'planschedule' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'AppFunc',
            appfunctype: 'OPENHTMLPAGE',
        },
        {
            appfunctag: 'Auto38',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqcheckgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqchecks/:emeqcheck?/gridview/:gridview?',
            parameters: [
                { pathName: 'emeqchecks', parameterName: 'emeqcheck' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto22',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emitemtypeinfotreeexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emitemtypes/:emitemtype?/infotreeexpview/:infotreeexpview?',
            parameters: [
                { pathName: 'emitemtypes', parameterName: 'emitemtype' },
                { pathName: 'infotreeexpview', parameterName: 'infotreeexpview' },
            ],
        },
        {
            appfunctag: 'Auto8',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emitemprtntabexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emitemprtns/:emitemprtn?/tabexpview/:tabexpview?',
            parameters: [
                { pathName: 'emitemprtns', parameterName: 'emitemprtn' },
                { pathName: 'tabexpview', parameterName: 'tabexpview' },
            ],
        },
        {
            appfunctag: 'Auto54',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emwplistwpprocesstreeexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emwplists/:emwplist?/wpprocesstreeexpview/:wpprocesstreeexpview?',
            parameters: [
                { pathName: 'emwplists', parameterName: 'emwplist' },
                { pathName: 'wpprocesstreeexpview', parameterName: 'wpprocesstreeexpview' },
            ],
        },
        {
            appfunctag: 'Auto29',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emassetgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emassets/:emasset?/gridview/:gridview?',
            parameters: [
                { pathName: 'emassets', parameterName: 'emasset' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto62',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqmpgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqmps/:emeqmp?/gridview/:gridview?',
            parameters: [
                { pathName: 'emeqmps', parameterName: 'emeqmp' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto30',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emrfoacgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emrfoacs/:emrfoac?/gridview/:gridview?',
            parameters: [
                { pathName: 'emrfoacs', parameterName: 'emrfoac' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto32',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emenconsumgridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emenconsums/:emenconsum?/gridview/:gridview?',
            parameters: [
                { pathName: 'emenconsums', parameterName: 'emenconsum' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'AppFunc2',
            appfunctype: 'OPENHTMLPAGE',
        },
        {
            appfunctag: 'Auto21',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqtypetreeexpview2',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqtypes/:emeqtype?/treeexpview2/:treeexpview2?',
            parameters: [
                { pathName: 'emeqtypes', parameterName: 'emeqtype' },
                { pathName: 'treeexpview2', parameterName: 'treeexpview2' },
            ],
        },
        {
            appfunctag: 'Auto33',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emeqdebuggridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emeqdebugs/:emeqdebug?/gridview/:gridview?',
            parameters: [
                { pathName: 'emeqdebugs', parameterName: 'emeqdebug' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto48',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emrfocagridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emrfocas/:emrfoca?/gridview/:gridview?',
            parameters: [
                { pathName: 'emrfocas', parameterName: 'emrfoca' },
                { pathName: 'gridview', parameterName: 'gridview' },
            ],
        },
        {
            appfunctag: 'Auto5',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emwo_entabexpview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emwo_ens/:emwo_en?/tabexpview/:tabexpview?',
            parameters: [
                { pathName: 'emwo_ens', parameterName: 'emwo_en' },
                { pathName: 'tabexpview', parameterName: 'tabexpview' },
            ],
        },
        {
            appfunctag: 'Auto42',
            appfunctype: 'APPVIEW',
            openmode: '',
            codename: 'emwoemwogridview',
            deResParameters: [],
            routepath: '/eamindexview/:eamindexview?/emwos/:emwo?/emwogridview/:emwogridview?',
            parameters: [
                { pathName: 'emwos', parameterName: 'emwo' },
                { pathName: 'emwogridview', parameterName: 'emwogridview' },
            ],
        },
	];

	/**
	 * 根据当前路由查找激活菜单
	 *
	 * @param {*} route
	 * @returns {*}
	 * @memberof EAMIndexViewModel
	 */
	public findActiveMenuByRoute(route: any): any {
		if (route) {
			const func = this.funcs.find((item: any) => {
				if (item.openmode === '') {
					const url: string = ViewTool.buildUpRoutePath(route, route.params, [], item.parameters, [], {});
					return url === route.fullPath;
				}
			});
            if (func) {
			    return this.findMenuByFuncTag(func.appfunctag);
            }
		}
	}

	/**
	 * 根据应用功能id查找菜单项
	 *
	 * @param {string} tag
	 * @param {any[]} [menus=this.items]
	 * @returns {*}
	 * @memberof EAMIndexViewModel
	 */
	public findMenuByFuncTag(tag: string, menus: any[] = this.items): any {
		let menu: any;
		menus.every((item: any) => {
			if (item.appfunctag === tag) {
				menu = item;
				return false;
			}
			if (item.items) {
				menu = this.findMenuByFuncTag(tag, item.items);
				if (menu) {
					return false;
				}
			}
			return true;
		});
		return menu;
	}

	/**
	 * 查找默认打开菜单
	 *
	 * @param {any[]} [menus=this.items]
	 * @returns {*}
	 * @memberof EAMIndexViewModel
	 */
	public findDefaultOpenMenu(menus: any[] = this.items): any {
		let menu: any;
		menus.every((item: any) => {
			if (item.opendefault === true) {
				menu = item;
				return false;
			}
			if (item.items) {
				menu = this.findMenuByFuncTag(item.items);
				if (menu) {
					return false;
				}
			}
			return true;
		});
		return menu;
	}

    /**
     * 获取所有菜单项集合
     *
     * @returns {any[]}
     * @memberof EAMIndexViewModel
     */
    public getAppMenuItems(): any[] {
        return this.items;
    }

	/**
	 * 根据名称获取菜单组
	 *
	 * @param {string} name
	 * @returns {*}
	 * @memberof EAMIndexViewModel
	 */
	public getMenuGroup(name: string): any {
		return this.items.find((item: any) => Object.is(item.name, name));
	}

    /**
     * 获取所有应用功能集合
     *
     * @returns {any[]}
     * @memberof EAMIndexViewModel
     */
    public getAppFuncs(): any[] {
        return this.funcs;
    }
}